package com.shaoshaohuo.app.utils.city.json;

import android.os.Parcel;
import android.os.Parcelable;

import com.shaoshaohuo.app.entity.BaseEntity;

public class Root extends BaseEntity implements Parcelable {

    private Data data;

	public Root() {
		super();
	}


	public void setData(Data Data) {
		this.data = Data;
	}

	public Data getData() {
		return this.data;
	}
	

	public Root(Parcel source) {
		data = source.readParcelable(Data.class.getClassLoader());
	}

	@Override
	public int describeContents() {
		return 0;
	}

	@Override
	public void writeToParcel(Parcel dest, int flags) {
		dest.writeParcelable(data, flags);
	}
	public static final Creator<Root> CREATOR = new Creator<Root>() {

		@Override
		public Root createFromParcel(Parcel source) {
			return new Root(source);
		}

		@Override
		public Root[] newArray(int size) {
			return new Root[size];
		}
		
	};
}